package snow;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("snow.dao")//开启Mybatis定位扫描
@ServletComponentScan//扫描filter实例
@EnableScheduling//扫描定时任务
@EnableTransactionManagement//开启声明式事务
@SpringBootApplication
public class SnowApplication {

    public static void main(String[] args) {
        SpringApplication.run(SnowApplication.class, args);
    }

}
